IdentityService.CreateGroup 方法
命名空間: Microsoft.VisualStudio.Services.Identity
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
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
)
參數
- requestContext
類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- scopeId
類型:System.Guid
- groupSid
類型:System.String
建立的群組的安全識別項。可以是 null
- groupName
類型:System.String
- groupDescription
類型:System.String
- specialType
類型:Microsoft.VisualStudio.Services.Identity.SpecialGroupType
- scopeLocal
類型:System.Boolean
- hasRestrictedVisibility
類型:System.Boolean
傳回值
類型:Microsoft.VisualStudio.Services.Identity.Identity
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。