AuthMechanism Property

The authentication mechanism to be used when connecting to the Active Directory server.

Syntax

ANSI (Cross Platform)
int GetAuthMechanism();
int SetAuthMechanism(int iAuthMechanism); Unicode (Windows) INT GetAuthMechanism();
INT SetAuthMechanism(INT iAuthMechanism);

Possible Values

AAM_SIMPLE(0), 
AAM_DIGEST_MD5(1),
AAM_NEGOTIATE(2),
AAM_KERBEROS(6)
@property (nonatomic,readwrite,assign,getter=authMechanism,setter=setAuthMechanism:) int authMechanism;
- (int)authMechanism;
- (void)setAuthMechanism:(int)newAuthMechanism;

Possible Values

AAM_SIMPLE(0), 
AAM_DIGEST_MD5(1),
AAM_NEGOTIATE(2),
AAM_KERBEROS(6)
#define PID_ACTIVEDIRECTORY_AUTHMECHANISM 3

IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_ActiveDirectory_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_ActiveDirectory_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

6

Remarks

This property specifies the authentication mechanism used. Possible values are:

0 (aamSimple) Plaintext authentication
1 (aamDigestMD5) DIGEST-MD5 authentication
2 (aamNegotiate) NTLM/Negotiate authentication
6 (aamKerbers - default) Kerberos authentication

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 C++ Edition - Version 20.0 [Build 8155]