OrganizationServiceContextExtensions.SetParentSystemUser Method (OrganizationServiceContext, Guid, Guid, Boolean)
Applies To: Dynamics CRM 2013
Sets the parent (manager) for the specified system user. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static void SetParentSystemUser(
this OrganizationServiceContext context,
Guid userId,
Guid parentId,
bool keepChildUsers
)
public:
[ExtensionAttribute]
static void SetParentSystemUser(
OrganizationServiceContext^ context,
Guid userId,
Guid parentId,
bool keepChildUsers
)
static member SetParentSystemUser :
context:OrganizationServiceContext *
userId:Guid *
parentId:Guid *
keepChildUsers:bool -> unit
<ExtensionAttribute>
Public Shared Sub SetParentSystemUser (
context As OrganizationServiceContext,
userId As Guid,
parentId As Guid,
keepChildUsers As Boolean
)
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- userId
Type: System.Guid
- parentId
Type: System.Guid
- keepChildUsers
Type: System.Boolean
Remarks
This is a method wrapper for the SetParentSystemUserRequest and SetParentSystemUserResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top