TeamFoundationSecurityNamespace.QueryAccessControlList 方法
在所有情況下: 這個方法會查詢所指定的語彙基元的 AccessControlList。 它會傳回所提供的描述項或所有的描述項,如果是 null 的 AccessControlEntry 資訊提供給描述元參數。
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Function QueryAccessControlList ( _
requestContext As TeamFoundationRequestContext, _
token As String, _
descriptors As IEnumerable(Of IdentityDescriptor), _
includeExtendedInfo As Boolean _
) As AccessControlList
public AccessControlList QueryAccessControlList(
TeamFoundationRequestContext requestContext,
string token,
IEnumerable<IdentityDescriptor> descriptors,
bool includeExtendedInfo
)
參數
- requestContext
型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
目前要求的內容。
- token
型別:System.String
查詢的權限給 AccessControlList 之語彙基元。
- descriptors
型別:System.Collections.Generic.IEnumerable<IdentityDescriptor>
有可能取得相關的權限資訊的描述項。
- includeExtendedInfo
型別:System.Boolean
如果 includeExtendedInfo 為 false,所有傳回的 AccessControlEntry 物件的 ExtendedInfo 屬性將會是 null。
傳回值
型別:Microsoft.TeamFoundation.Framework.Server.AccessControlList
傳入之資訊的 AccessControlLists。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。