Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Getting UserID

I am using custom security sample. When i register a new member, it will add to the UserAccounts table.  The useraccounts table do not have userid. When i manage role to add the registered user to the report server. It will insert into the ReportServer Users table with userid. Where is the userid generated and where i can get it before i manually register into report server?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

UserID is the ID of the user running the report.

If you are using Windows Authentication, this value is the domain account of the current user. The value is determined by the Reporting Services security extension, which can use Windows Authentication or custom authentication.

USERID is automatically generated as soon as the user is registered user to the report server, this id will not exist if he is not added to the server.

 

Where is the userid generated and where i can get it before i manually register into report server

I'm afraid you can't get the Userid in advance.

 

Hope it helps,

 

Best Regards,
Community Support Team _ Caitlyn

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

 

UserID is the ID of the user running the report.

If you are using Windows Authentication, this value is the domain account of the current user. The value is determined by the Reporting Services security extension, which can use Windows Authentication or custom authentication.

USERID is automatically generated as soon as the user is registered user to the report server, this id will not exist if he is not added to the server.

 

Where is the userid generated and where i can get it before i manually register into report server

I'm afraid you can't get the Userid in advance.

 

Hope it helps,

 

Best Regards,
Community Support Team _ Caitlyn

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.