SecurityPrincipalType Class

The SecurityPrincipalType class lists the possible types of security principals. Please note that although the APIs may accept any value, these are the valid values for security principal type.

This class does not need instantiation or initialization because the fields represent constant integer values. These values are intended to be used when constructing XML string parameters used in the Microsoft CRM APIs.

  System.Object

   SecurityPrincipalType
[Visual Basic .NET]
Public Class SecurityPrincipalType
   Inherits System.Object
[C#]
public class SecurityPrincipalType: System.Object
[C++]
public __gc class SecurityPrincipalType: public System.Object

The SecurityPrincipalType class exposes the following integer fields.

Field Value Description
sptMerchant 1 Specifies that the security principal is a business. [Not supported in this release.]
sptTeam 2 Specifies that the security principal is a team.
sptUser 0 Specifies that the security principal is a user.

Requirements

Namespace: Microsoft.CRM.Flags

Assembly: microsoft.crm.proxy.dll

See Also

© 2003 Microsoft Corporation. All rights reserved.