Compartilhar via


WindowsAccessControlEntry Constructor (String, String, BdcRights)

Initializes a new instance of the class using the specified name, display name, and access rights of the security principal.

Namespace:  Microsoft.Office.BusinessData.Infrastructure
Assembly:  Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    identityName As String, _
    displayName As String, _
    rights As BdcRights _
)
'Usage
Dim identityName As String
Dim displayName As String
Dim rights As BdcRights

Dim instance As New WindowsAccessControlEntry(identityName, _
    displayName, rights)
public WindowsAccessControlEntry(
    string identityName,
    string displayName,
    BdcRights rights
)

Parameters

  • identityName
    Type: System.String

    The name of the security principal.

  • displayName
    Type: System.String

    The display name of the security principal.

Remarks

This constructor accepts "NT AUTHORITY\Authenticated Users" and "NT AUTHORITY\Anonymous Logon" for the identity name in the “en-us” locale and substitute the appropriate localized name, regardless of the locale.

See Also

Reference

WindowsAccessControlEntry Class

WindowsAccessControlEntry Members

WindowsAccessControlEntry Overload

Microsoft.Office.BusinessData.Infrastructure Namespace