Interface WebNTLoginInfo


  • public interface WebNTLoginInfo
    This interface represents the NT authentication-related settings which can be set on a user. This interface is obtained from the WebUser interface, and can be used to read and write those settings related to NT authentication on a user object.
    Since:
    MicroStrategy Web 7.5.2
    • Method Detail

      • getWindowsNTSID

        byte[] getWindowsNTSID()
        Returns the current Windows NT SID linked with this user. If no Windows NT SID is associated with the user, then null will be returned.
        Returns:
        The byte array which makes up the NT SID.
      • setWindowsNTSID

        void setWindowsNTSID​(byte[] ntSID)
        Sets the Windows NT SID linked with the user. If there is the desire to unlink a Windows NT SID from a user, null can be passed to this method.
        Parameters:
        ntSID - The byte array making up the NT SID, or null if the intent is to unlink the user from any NT SID.
      • getWindowsAccountName

        java.lang.String getWindowsAccountName()
                                        throws WebObjectsException
        Returns the current Windows account name linked with this user. If no Windows account is associated with the user, then null will be returned.
        Returns:
        The String of Windows account name or null if no account associated with.
        Throws:
        WebObjectsException - Thrown if there is an error in getting the account name.
      • setWindowsAccountName

        void setWindowsAccountName​(java.lang.String accountName)
                            throws WebObjectsException
        Associates a Windows account with this user by providing the Windows account name. If there is the desire to unlink a Windows account from a user, null can be passed to this method.
        Parameters:
        accountName - The Windows account name, null if the intent is to unlink the user from any Windows account.
        Throws:
        WebObjectsException - Thrown if there is an error in linking to this Windows account.