Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:  Microsoft.VisualStudio.Services.Identity
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public MustOverride Function CreateGroup ( _
    requestContext As TeamFoundationRequestContext, _
    scopeId As Guid, _
    groupSid As String, _
    groupName As String, _
    groupDescription As String, _
    specialType As SpecialGroupType, _
    scopeLocal As Boolean, _
    hasRestrictedVisibility As Boolean _
) As Identity
public abstract Identity CreateGroup(
    TeamFoundationRequestContext requestContext,
    Guid scopeId,
    string groupSid,
    string groupName,
    string groupDescription,
    SpecialGroupType specialType,
    bool scopeLocal,
    bool hasRestrictedVisibility
)
public:
virtual Identity^ CreateGroup(
    TeamFoundationRequestContext^ requestContext, 
    Guid scopeId, 
    String^ groupSid, 
    String^ groupName, 
    String^ groupDescription, 
    SpecialGroupType specialType, 
    bool scopeLocal, 
    bool hasRestrictedVisibility
) abstract
abstract CreateGroup : 
        requestContext:TeamFoundationRequestContext * 
        scopeId:Guid * 
        groupSid:string * 
        groupName:string * 
        groupDescription:string * 
        specialType:SpecialGroupType * 
        scopeLocal:bool * 
        hasRestrictedVisibility:bool -> Identity
public abstract function CreateGroup(
    requestContext : TeamFoundationRequestContext, 
    scopeId : Guid, 
    groupSid : String, 
    groupName : String, 
    groupDescription : String, 
    specialType : SpecialGroupType, 
    scopeLocal : boolean, 
    hasRestrictedVisibility : boolean
) : Identity
Parameters
- requestContext
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- scopeId
 Type: System.Guid
- groupSid 
 Type: System.String- The security identifier of the group to create. Can be null 
- groupName
 Type: System.String
- groupDescription
 Type: System.String
- specialType
 Type: Microsoft.VisualStudio.Services.Identity.SpecialGroupType
- scopeLocal
 Type: System.Boolean
- hasRestrictedVisibility
 Type: System.Boolean
Return Value
Type: Microsoft.VisualStudio.Services.Identity.Identity
.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.