Create a new ServiceIdentity object.
Namespace:  Microsoft.TeamFoundation.Framework.Server.AccessControl
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Function CreateServiceIdentity ( _
    ID As Long, _
    systemReserved As Boolean _
) As ServiceIdentity
public static ServiceIdentity CreateServiceIdentity(
    long ID,
    bool systemReserved
)
public:
static ServiceIdentity^ CreateServiceIdentity(
    long long ID, 
    bool systemReserved
)
static member CreateServiceIdentity : 
        ID:int64 * 
        systemReserved:bool -> ServiceIdentity
public static function CreateServiceIdentity(
    ID : long, 
    systemReserved : boolean
) : ServiceIdentity
Parameters
- ID 
 Type: System.Int64- Initial value of Id. 
- systemReserved 
 Type: System.Boolean- Initial value of SystemReserved. 
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.AccessControl.ServiceIdentity
Returns ServiceIdentity.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.Framework.Server.AccessControl Namespace