Share via


WindowsAccessControlEntry Constructor (String, BdcRights)

Initializes a new instance of the class using the specified 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, _
    rights As BdcRights _
)
'Usage
Dim identityName As String
Dim rights As BdcRights

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

Parameters

  • identityName
    Type: System.String

    The 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