Share via


BdcAccessControlList.LocalizedAnonymousUsers Property

Gets the name of the anonymous account that corresponds to the System.Security.Principal.WellKnownSidType.AnonymousSid and that is localized based on the locale of the computer that the code is running on.

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

Syntax

'Declaration
Public Shared ReadOnly Property LocalizedAnonymousUsers As String
    Get
'Usage
Dim value As String

value = BdcAccessControlList.LocalizedAnonymousUsers
public static string LocalizedAnonymousUsers { get; }

Property Value

Type: System.String
The localized name of the anonymous account.

Remarks

In the “en-us” locale, the name of this account is “NT AUTHORITY\Anonymous Logon”.

This property exists in both the client and the server. Custom server implementations of Business Data Connectivity (BDC) service should treat LocalizedAnonymousUsers and “NT AUTHORITY\Anonymous Logon” as the same.

When “NT AUTHORITY\Anonymous Logon” is exported in a Business Data Connectivity (BDC) service model file, it is always exported in the “en-us” locale. A client in a different locale, however, may not be able to interpret this group name; in this case, the custom client implementation can look for the hardcoded string “NT AUTHORITY\Anonymous Logon”, and substitute in this property. The custom client implementations may also want to watch for this string in input, and substitute back in “NT AUTHORITY\Anonymous Logon” before saving a model back to the server, to make sure that the server understands the name.

See Also

Reference

BdcAccessControlList Class

BdcAccessControlList Members

Microsoft.Office.BusinessData.Infrastructure Namespace