SPPolicy.UserName property
取得使用者或外部群組相關聯之原則的登入名稱。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property UserName As String
Get
'用途
Dim instance As SPPolicy
Dim value As String
value = instance.UserName
public string UserName { get; }
Property value
Type: System.String
內含使用者名稱的字串
Examples
domain中指定登入名稱 \alias格式。