Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the entry for the specified security principal or UNC path.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)
Syntax
public GPMapEntry GetEntry(
string source
)
public:
GPMapEntry^ GetEntry(
String^ source
)
member GetEntry :
source:string -> GPMapEntry
Public Function GetEntry (
source As String
) As GPMapEntry
Parameters
source
Type: System.StringThe security principal or UNC path for which to retrieve the entry. (This is the value of the source field for the entry.)
Return Value
Type: Microsoft.GroupPolicy.GPMapEntry
Returns GPMapEntry. The map entry.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | source is an empty string (“”). |
| ArgumentNullException | source is null. |
See Also
GPMigrationTable Class
Microsoft.GroupPolicy Namespace
Return to top