public ClientSchemaObjectBase UpdateUser(ClientSCUser clientUser)
 {
     return((ClientSchemaObjectBase)this.Invoke("UpdateUser", new object[] { clientUser })[0]);
 }
		public ClientSchemaMember RemoveSecretaryFromUser(ClientSCUser clientSecretary, ClientSCUser clientUser)
		{
			return (ClientSchemaMember)Facade.RemoveSecretaryFromUser((PC.SCUser)clientSecretary.ToSchemaObject(), (PC.SCUser)clientUser.ToSchemaObject()).ToClientSchemaObject();
		}
		public ClientSchemaRelation SetUserDefaultOrganization(ClientSCUser clientUser, ClientSCOrganization clientParent)
		{
			return (ClientSchemaRelation)Facade.SetUserDefaultOrganization((PC.SCUser)clientUser.ToSchemaObject(), (PC.SCOrganization)clientParent.ToSchemaObject()).ToClientSchemaObject();
		}
		public ClientSchemaObjectBase DeleteUser(ClientSCUser clientUser, ClientSCOrganization clientParent)
		{
			return (ClientSchemaObjectBase)this.Invoke("DeleteUser", new object[] { clientUser, clientParent })[0];
		}
		public ClientSchemaMember RemoveUserFromGroup(ClientSCUser clientUser, ClientSCGroup clientGroup)
		{
			return (ClientSchemaMember)Facade.RemoveUserFromGroup((PC.SCUser)clientUser.ToSchemaObject(), (PC.SCGroup)clientGroup.ToSchemaObject()).ToClientSchemaObject();
		}
 public ClientSchemaMember AddUserToGroup(ClientSCUser clientUser, ClientSCGroup clientGroup)
 {
     return((ClientSchemaMember)this.Invoke("AddUserToGroup", new object[] { clientUser, clientGroup })[0]);
 }
 public ClientSchemaMember RemoveUserFromGroup(ClientSCUser clientUser, ClientSCGroup clientGroup)
 {
     return((ClientSchemaMember)this.Invoke("RemoveUserFromGroup", new object[] { clientUser, clientGroup })[0]);
 }
		public ClientSchemaObjectBase AddUser(ClientSCUser clientUser, ClientSCOrganization clientParent)
		{
			EnsureID(clientUser);
			return Facade.AddUser((PC.SCUser)clientUser.ToSchemaObject(false), clientParent != null ? (PC.SCOrganization)clientParent.ToSchemaObject() : null).ToClientSchemaObject();
		}
		public ClientSchemaObjectBase UpdateUser(ClientSCUser clientUser)
		{
			return Facade.UpdateUser((PC.SCUser)clientUser.ToSchemaObject()).ToClientSchemaObject();
		}
		public ClientSchemaMember RemoveUserFromGroup(ClientSCUser clientUser, ClientSCGroup clientGroup)
		{
			return (ClientSchemaMember)this.Invoke("RemoveUserFromGroup", new object[] { clientUser, clientGroup })[0];
		}
		public ClientSchemaMember RemoveSecretaryFromUser(ClientSCUser clientSecretary, ClientSCUser clientUser)
		{
			return (ClientSchemaMember)this.Invoke("RemoveSecretaryFromUser", new object[] { clientSecretary, clientUser })[0];
		}
		public ClientSchemaMember AddSecretaryToUser(ClientSCUser clientSecretary, ClientSCUser clientUser)
		{
			return (ClientSchemaMember)this.Invoke("AddSecretaryToUser", new object[] { clientSecretary, clientUser })[0];
		}
		public ClientSchemaMember AddUserToGroup(ClientSCUser clientUser, ClientSCGroup clientGroup)
		{
			return (ClientSchemaMember)this.Invoke("AddUserToGroup", new object[] { clientUser, clientGroup })[0];
		}
		public ClientSchemaRelation SetUserDefaultOrganization(ClientSCUser clientUser, ClientSCOrganization clientParent)
		{
			return (ClientSchemaRelation)this.Invoke("SetUserDefaultOrganization", new object[] { clientUser, clientParent })[0];
		}
 public ClientSchemaObjectBase DeleteUser(ClientSCUser clientUser, ClientSCOrganization clientParent)
 {
     return((ClientSchemaObjectBase)this.Invoke("DeleteUser", new object[] { clientUser, clientParent })[0]);
 }
		public ClientSchemaObjectBase DeleteUser(ClientSCUser clientUser, ClientSCOrganization clientParent)
		{
			return Facade.DeleteUser((PC.SCUser)clientUser.ToSchemaObject(), clientParent != null ? (PC.SCOrganization)clientParent.ToSchemaObject() : null, false).ToClientSchemaObject();
		}
 public ClientSchemaRelation SetUserDefaultOrganization(ClientSCUser clientUser, ClientSCOrganization clientParent)
 {
     return((ClientSchemaRelation)this.Invoke("SetUserDefaultOrganization", new object[] { clientUser, clientParent })[0]);
 }
		public ClientSchemaMember AddUserToGroup(ClientSCUser clientUser, ClientSCGroup clientGroup)
		{
			return (ClientSchemaMember)Facade.AddUserToGroup((PC.SCUser)clientUser.ToSchemaObject(), (PC.SCGroup)clientGroup.ToSchemaObject()).ToClientSchemaObject();
		}
 public ClientSchemaMember AddSecretaryToUser(ClientSCUser clientSecretary, ClientSCUser clientUser)
 {
     return((ClientSchemaMember)this.Invoke("AddSecretaryToUser", new object[] { clientSecretary, clientUser })[0]);
 }
		public ClientSchemaMember AddSecretaryToUser(ClientSCUser clientSecretary, ClientSCUser clientUser)
		{
			return (ClientSchemaMember)Facade.AddSecretaryToUser((PC.SCUser)clientSecretary.ToSchemaObject(), (PC.SCUser)clientUser.ToSchemaObject()).ToClientSchemaObject();
		}
 public ClientSchemaMember RemoveSecretaryFromUser(ClientSCUser clientSecretary, ClientSCUser clientUser)
 {
     return((ClientSchemaMember)this.Invoke("RemoveSecretaryFromUser", new object[] { clientSecretary, clientUser })[0]);
 }
		public ClientSchemaObjectBase UpdateUser(ClientSCUser clientUser)
		{
			return (ClientSchemaObjectBase)this.Invoke("UpdateUser", new object[] { clientUser })[0];
		}