Exemplo n.º 1
0
 /// <remarks/>
 public void InviteUsersAsync(InviteUsersRequest InviteUsersRequest) {
     this.InviteUsersAsync(InviteUsersRequest, null);
 }
Exemplo n.º 2
0
 /// <remarks/>
 public void InviteUsersAsync(InviteUsersRequest InviteUsersRequest, object userState) {
     if ((this.InviteUsersOperationCompleted == null)) {
         this.InviteUsersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInviteUsersOperationCompleted);
     }
     this.InvokeAsync("InviteUsers", new object[] {
                 InviteUsersRequest}, this.InviteUsersOperationCompleted, userState);
 }
Exemplo n.º 3
0
        static bool inviteUsersToDocument(string url, Credentials c, string documentId, string[] emails, string[] userIds, string[] groupIds, string personalNote)
        {
            Console.WriteLine("Inviting users...");

            ArticulateOnline ao = new ArticulateOnline();
            ao.Url = url;

            InviteUsersRequest request = new InviteUsersRequest();
            request.Credentials = c;
            request.DocumentID = documentId;
            request.EmailAddresses = emails;
            request.GroupIDs = groupIds;
            request.PersonalComment = personalNote;
            request.UserIDs = userIds;

            return ao.InviteUsers(request).Success;
        }