Skip to main content

Posts

Showing posts with the label Users

How to create a user in DB MS SQL Studio

Below steps will guide you to create user in Microsoft SQL Management Studio and in Siebel. First create login, open MS SQL Management Studio and connect with database.Run below SQL statement. CREATE LOGIN <user-name> WITH PASSWORD = '<password>'; CREATE LOGIN EAIUSER WITH PASSWORD = 'EAIUSER'; Now create user in database. The SQL create user command takes the following syntax: create user <user-name> for login <login-name> create user EAIUSER for login EAIUSER Now you need to provide permissions to newly created user in database. There are tow ways based on user role in the organization select the appropriate method. One to provide the rights of specific database or assign the Membership role to newly created user. Expand the DB and go to Security/Users and find or add filter for new user as seen below. Right click and open properties. Now go Securables and click on Search button. A new window will popup as seen below. Check the Specific Objects...

Grant Permissions to users for Siebel Folders

Open Command Prompt  CMD (if necessary run as admin) and run below commands: App icacls "C:\Siebel\8.1.1.11.0\ses" /grant EveryOne:F /T /C Web icacls "C:\Siebel\8.1.1.11.0\eappweb" /grant EveryOne:F /T /C Gateway icacls "G:\Siebel\8.1.1.11.0\ses" /grant EveryOne:F /T /C From Microsoft Docs: icacls Displays or modifies discretionary access control lists (DACLs) on specified files, and applies stored DACLs to files in specified directories. To save the DACLs for all files in the C:\Windows directory and its sub directories to the ACLFile file, type: icacls c:\windows\* /save aclfile /t To restore the DACLs for every file within ACLFile that exists in the C:\Windows directory and its subdirectories, type: icacls c:\windows\ /restore aclfile To grant the user User1 Delete and Write DAC permissions to a file named "Test1", type: icacls test1 /grant User1:(d,wdac) To grant the user defined by SID S-1-1-0 Delete and Write DA...