After an authentication request this property will return the type of grid.
C++ syntax
public : HRESULT get_grIDsureGridType(LONG* gridType);
C# syntax
public int grIDsureGridType { get; }
Return value
- 0x00800000 The user has no grid.
- 0x01000000 The user has a registered grid.
- 0x02000000 The user has a grid but no PIP has been registered.
- 0x04000000 The user has a grid and the PIP has expired.
- 0x80000000 The user has a grid and they have expired the PIP.
Returns a value representing the type of user name expected for authentications through the passed Defender Access Node. The accessNode parameter should be the common name.
C++ syntax
public : HRESULT get_userIdType( BSTR accessNode, LONG* pVal);
C# syntax
public virtual int get_userIdType(string accessNode)
Return value
- 0 Defender ID.
- 1 User Principal Name.
- 2 SAM Account Name.
- 3 Proper Name.
- -1 Failed to retrieve user ID type.
Returns a non-zero value if the user is Defender authenticated. Otherwise, returns zero.
The user will be Defender authenticated if all of the following is true:
- The Access Node specified is assigned to the Defender Security Server.
- The user is a member of the Access Node, either directly or indirectly.
- The user has a token or Defender Password as required by the effective policy.
C++ syntax
public : HRESULT isUserDefenderAuthenticated( BSTR domain, BSTR samAccountName, BSTR accessNode, BSTR dssIpAddress, VARIANT_BOOL* pVal);;
C# syntax
public virtual int get_isUserDefenderAuthenticated(string domain, string samAccountName, string accessNode, string dssIpAddress)
Parameters
- domain The NetBIOS name of the domain to which the user belongs.
- samAccountName The SAM account name of the user.
- accessNode The common name (cn) of the Defender Access Node through which the user will authenticate.
- dssIpAddress The IP address of the Defender Security Server through which the user will authenticate.