IdentityService.CreateScope Method
Namespace: Microsoft.VisualStudio.Services.Identity
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public MustOverride Function CreateScope ( _
requestContext As TeamFoundationRequestContext, _
scopeId As Guid, _
parentScopeId As Guid, _
scopeType As GroupScopeType, _
scopeName As String, _
adminGroupName As String, _
adminGroupDescription As String, _
creatorId As Guid _
) As IdentityScope
public abstract IdentityScope CreateScope(
TeamFoundationRequestContext requestContext,
Guid scopeId,
Guid parentScopeId,
GroupScopeType scopeType,
string scopeName,
string adminGroupName,
string adminGroupDescription,
Guid creatorId
)
public:
virtual IdentityScope^ CreateScope(
TeamFoundationRequestContext^ requestContext,
Guid scopeId,
Guid parentScopeId,
GroupScopeType scopeType,
String^ scopeName,
String^ adminGroupName,
String^ adminGroupDescription,
Guid creatorId
) abstract
abstract CreateScope :
requestContext:TeamFoundationRequestContext *
scopeId:Guid *
parentScopeId:Guid *
scopeType:GroupScopeType *
scopeName:string *
adminGroupName:string *
adminGroupDescription:string *
creatorId:Guid -> IdentityScope
public abstract function CreateScope(
requestContext : TeamFoundationRequestContext,
scopeId : Guid,
parentScopeId : Guid,
scopeType : GroupScopeType,
scopeName : String,
adminGroupName : String,
adminGroupDescription : String,
creatorId : Guid
) : IdentityScope
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- scopeId
Type: System.Guid
- parentScopeId
Type: System.Guid
- scopeType
Type: Microsoft.VisualStudio.Services.Identity.GroupScopeType
- scopeName
Type: System.String
- adminGroupName
Type: System.String
- adminGroupDescription
Type: System.String
- creatorId
Type: System.Guid
Return Value
Type: Microsoft.VisualStudio.Services.Identity.IdentityScope
.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.