Exemplo n.º 1
0
        public CcmErrorCode GetActiveSessionCountForUser(string userName, string domain, out uint activeUserSessions)
        {
            var result = Environment.Is64BitProcess ?
                         CcmSdk64.CCMGetActiveSessionCountForUser(userName, domain, out activeUserSessions) :
                         CcmSdk32.CCMGetActiveSessionCountForUser(userName, domain, out activeUserSessions);

            return((CcmErrorCode)result);
        }