public void EnrollUser( Identifier userId, Identifier orgUnitId, Identifier roleId ) { EnrollUserRequest request = new EnrollUserRequest() { UserId = userId, OrgUnitId = orgUnitId, RoleId = roleId }; CallWebService<IUserManagementServicev1_0, EnrollUserRequest, EnrollUserResponse>( m_service1_0, request, ( s, q ) => s.EnrollUser( q ) ); }
/// <remarks/> public void EnrollUserAsync(EnrollUserRequest EnrollUserRequest) { this.EnrollUserAsync(EnrollUserRequest, null); }
/// <remarks/> public void EnrollUserAsync(EnrollUserRequest EnrollUserRequest, object userState) { if ((this.EnrollUserOperationCompleted == null)) { this.EnrollUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEnrollUserOperationCompleted); } this.InvokeAsync("EnrollUser", new object[] { EnrollUserRequest}, this.EnrollUserOperationCompleted, userState); }
/// <remarks/> public System.IAsyncResult BeginEnrollUser(EnrollUserRequest EnrollUserRequest, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("EnrollUser", new object[] { EnrollUserRequest}, callback, asyncState); }